package com.hee.erp.modules.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hee.erp.modules.entity.SysRight;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hee.erp.pojo.SysRightTreeNode;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author weizehong
 * @since 2022-03-04
 */
public interface ISysRightService extends IService<SysRight> {

    List<SysRightTreeNode> getMenuRightsByIds(List<String> rightIds);

    List<SysRightTreeNode> getAllRights();


    IPage<SysRight> listByPage(JSONObject params);
}
